package com.jzt.qf.beans.uploadJson;

import com.alibaba.fastjson.annotation.JSONField;
import com.jzt.qf.https.Jzt_api_parameter;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 库存状态变化记录查询json
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class JztStockTypeJson implements Serializable {
    @JSONField(name = "Operator_Id")
    private String Operator_Id;
    @JSONField(name = "Con_Id")
    private String Con_Id;
    @JSONField(name = "Businessbill_No")
    private String Businessbill_No = "";
    @JSONField(name = "Ldc_Id")
    private String Ldc_Id = "";
    @JSONField(name = "Start_Date")
    private String Start_Date = "";
    @JSONField(name = "End_Date")
    private String End_Date = "";
    @JSONField(name = "Goods_No")
    private String Goods_No = "";
    public JztStockTypeJson(String Businessbill_No, String End_Date, String Goods_No) {
        this.Operator_Id = Jzt_api_parameter.Operator_Id;
        this.Con_Id = Jzt_api_parameter.Con_Id;
        this.Ldc_Id = Jzt_api_parameter.Ldc_Id;
        this.Businessbill_No = Businessbill_No;
        this.Start_Date = "2023-01-01";
        this.End_Date = End_Date;
        this.Goods_No = Goods_No;
    }

    public JztStockTypeJson(String Businessbill_No, String Start_Date, String End_Date, String Goods_No) {
        this.Operator_Id = Jzt_api_parameter.Operator_Id;
        this.Con_Id = Jzt_api_parameter.Con_Id;
        this.Ldc_Id = Jzt_api_parameter.Ldc_Id;
        this.Businessbill_No = Businessbill_No;
        this.Start_Date = Start_Date;
        this.End_Date = End_Date;
        this.Goods_No = Goods_No;
    }
}
